

<div class="top">
  <img src="/images/user/prof_surveys/zhuanye_03.jpg" width="145" height="28" alt="专业测试量表" />
</div>

<div class="center">

  <% @types.each do |type|%>
  <div class="center01">
    <div class="center01a">
      <h1><b><%=type.name %> </b></h1>
      <ul>
      <% i = 0 %>
      <% @tests.each do |test| %>
        <% if test.test_type_id==type.id -%>
          <li><a href="/user/test/test/<%=test.id%>"><%=test.name%></a></li>
          <% i = i +1 %>
        <% end %>
      <% end %>

      <% for j in 1..3 %>
      <% if i%3 !=0 %>
        <li>&nbsp;<% i = i +1 %></li>
      <% end %>
    <% end %>
      </ul>
    </div>
  </div>
  <% end %>

  <div class="">
    <a href="/user/test/home" style="">
      <img src="/images/user/prof_surveys/anniu_03.jpg" width="60" height="26" />
    </a>
  </div>
</div>

<div class="centerb">
</div>



